<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Anchor Positioning Test: Interpolation of anchor related properties</title>
<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/interpolation-testcommon.js"></script>
<body>
<script>
  test_no_interpolation({
    property: 'anchor-name',
    from: 'none',
    to: '--foo',
  });
  test_no_interpolation({
    property: 'anchor-name',
    from: '--foo',
    to: '--bar',
  });

  test_no_interpolation({
    property: 'position-anchor',
    from: 'auto',
    to: '--foo',
  });
  test_no_interpolation({
    property: 'position-anchor',
    from: '--foo',
    to: '--bar',
  });

  test_no_interpolation({
    property: 'position-area',
    from: 'none',
    to: 'center',
  });
  test_no_interpolation({
    property: 'position-area',
    from: 'left',
    to: 'right',
  });

  test_no_interpolation({
    property: 'position-try-fallbacks',
    from: 'none',
    to: '--foo',
  });
  test_no_interpolation({
    property: 'position-try-fallbacks',
    from: 'none',
    to: 'flip-block',
  });
  test_no_interpolation({
    property: 'position-try-fallbacks',
    from: 'flip-inline',
    to: 'flip-block',
  });
  test_no_interpolation({
    property: 'position-try-fallbacks',
    from: '--foo',
    to: '--bar',
  });
  test_no_interpolation({
    property: 'position-try-fallbacks',
    from: '--foo',
    to: 'flip-block',
  });

  test_no_interpolation({
    property: 'position-try-order',
    from: 'normal',
    to: 'most-width',
  });
  test_no_interpolation({
    property: 'position-try-order',
    from: 'most-width',
    to: 'most-height',
  });
</script>
